package org.jeecg.modules.zhoupackage.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 低领尼表
 */
@Data
@Accessors(chain = true)
public class MlccDilinniInfo {

    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    @Excel(name = "底领呢名称")
    private String dilinniName;

    /**
     * 编号
     */
    @Excel(name = "底领呢编号")
    private String dilinniNumber;
    private String sysuserId;

    @Excel(name = "底领呢图片", type = 2, width = 25)
    private String img;


    /**
     * 售价
     */
    @Excel(name = "销售加价")
    private BigDecimal salesPrice;

    /**
     * 成本价
     */
    @Excel(name = "成本加价")
    private BigDecimal costPrice;

    /**
     * 0正常 1删除 2停售
     */
    private Integer status;
    /**
     * 备注
     */
    private String remark;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 创建人
     */
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 部门编码
     */
    private String sysOrgCode;
    private Integer inventory;
}
